package com.ruoyi.project.mgr.arrange.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 课程安排对象 mgr_course_arrange
 * 
 * @author .
 * @date 2020-02-11
 */
public class MgrCourseArrange extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 排课id */
    private Long id;

    /** 班级id */
    @Excel(name = "班级id")
    private Long clazzId;

    /** 教室id */
    @Excel(name = "教室id")
    private Long roomId;

    private String roomCode;

    /** 课程id */
    @Excel(name = "课程id")
    private Long courseId;

    private String courseName;

    /** 教师id */
    @Excel(name = "教师id")
    private Long teacherId;

    private String teacherName;

    /** 课程日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date courseDate;

    /** 时间段 */
    @Excel(name = "时间段")
    private Integer timeSlot;

    /**
     * 时间yyyy-MM-dd格式
     */
    private String day;

    /**
     * 选择的课程数
     */
    private Integer courseSize;

    /**
     * 申请表的排课id
     */
    private Long applyId;

    /**
     * 处理描述
     */
    private String explain;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClazzId(Long clazzId) 
    {
        this.clazzId = clazzId;
    }

    public Long getClazzId() 
    {
        return clazzId;
    }
    public void setRoomId(Long roomId) 
    {
        this.roomId = roomId;
    }

    public Long getRoomId() 
    {
        return roomId;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setCourseDate(Date courseDate) 
    {
        this.courseDate = courseDate;
    }

    public Date getCourseDate() 
    {
        return courseDate;
    }
    public void setTimeSlot(Integer timeSlot) 
    {
        this.timeSlot = timeSlot;
    }

    public Integer getTimeSlot() 
    {
        return timeSlot;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }

    public String getRoomCode() {
        return roomCode;
    }

    public void setRoomCode(String roomCode) {
        this.roomCode = roomCode;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public Integer getCourseSize() {
        return courseSize;
    }

    public void setCourseSize(Integer courseSize) {
        this.courseSize = courseSize;
    }

    public Long getApplyId() {
        return applyId;
    }

    public void setApplyId(Long applyId) {
        this.applyId = applyId;
    }

    public String getExplain() {
        return explain;
    }

    public void setExplain(String explain) {
        this.explain = explain;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("clazzId", getClazzId())
            .append("roomId", getRoomId())
            .append("courseId", getCourseId())
            .append("teacherId", getTeacherId())
            .append("courseDate", getCourseDate())
            .append("timeSlot", getTimeSlot())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
